﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;
using Com.CMS263.DAO;

namespace Com.CMS263.BLL
{
    public class MessageBoardBLL:BaseBLL<MessageBoard>
    {
        MessageBoardDAO meBo = new MessageBoardDAO();
        public MessageBoard messBoard = new MessageBoard();
        public override MessageBoard GetModel()
        {
            return messBoard;
        }
        /// <summary>
        /// 查询全部
        /// </summary>
        /// <param name="CurrentIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        public IList<MessageBoard> getGetListByPage(int CurrentIndex, int pageSize)
        {
            return meBo.getGetListByPage(CurrentIndex, pageSize);
        }
        /// <summary>
        /// 查询总条数
        /// </summary>
        /// <returns></returns>
        public int GetCount()
        {
            return meBo.GetCount();
        }
    }
}
